module.exports = app => {
  const { controller, middleware, router } = app;

  // router.post('新增订单流程', '/order/process/insert', middleware.jwt(), controller.process.insert);

  router.get('订单阶段', '/order/process/stage', middleware.jwt(), controller.process.stage);

  router.post('更新流程', '/order/process/update', middleware.jwt(), controller.process.update);

  router.post('完成流程', '/order/process/finish', middleware.jwt(), controller.process.finish);

  router.post('拒绝订单流程', '/order/process/refuse', middleware.jwt(), controller.process.refuse);

  router.post('修改订单流程', '/order/process/change', middleware.jwt(), controller.process.change);

};
